<template>
  <div class="login-container">
    <el-form ref="form" label-width="80px" class="el-form">
      <el-form-item label-width="130px">
        <span>请登录</span>
      </el-form-item>
      <el-form-item label="账号:">
        <el-input v-model="userName" size="mini" style="width: 180px"></el-input>
      </el-form-item>
      <el-form-item label="密码:">
        <el-input v-model="password" show-password size="mini" style="width: 180px"></el-input>
      </el-form-item>
      <el-form-item label-width="80px">
        <el-button @click="user" type="primary" size="mini" class="el-form-item">登录</el-button>
        <el-button @click="register" type="primary" size="mini" class="el-form-item" style="margin-left: 60px">注册
        </el-button>
      </el-form-item>
    </el-form>
  </div>

</template>


<script>
  import index from './index';

  export default index;
</script>

<style scoped>
  @import "index.css";
</style>
